< previous page page_21 next page >

Page 21
DHTML Applications
A DHTML application has code modules and designers that are stored in DSR and DSX files. You also have HTM or HTML files associated with this type of project. When you compile your project and get ready to distribute it, you have to distribute your HTML and a DLL to the end user.
Resource Files
A resource file allows you to store Windows resources such as strings, bitmaps, cursors, and icons. You can then load these resources on demand. One common use of resources is to store all the strings in the program that represent a given language. Then, by just changing those strings, you can convert the program to another language without having to change the rest of the program. This is a huge benefit for translating and maintaining programs in several languages. The source for a resource file is stored into an RC file. After compiling the RC file, you have an RES file that will be distributed with your application.
Microsoft Windows
Lets now turn our attention to Microsoft Windows itself and how it interacts with Visual Basic applications. Microsoft Windows is a graphical environment where the user interacts with pictures as well as text. This type of graphical interface is easier for users to learn due to standard interface objects (called controls). Microsoft Windows comes in a few different flavors. Each has a graphical interface but may vary as to the different platforms they run on.
Windows allows you to run more than one application at a time, and you can easily transfer data back and forth between those applications. The use of standard interface objects in Windows simplifies learning and using the computer. Once users learn these standard objects (controls), theyll find that these objects are often repeated in many of the applications developed for Windows. When you develop your applications, you should use these standard interface objects.
9f31265bb40b592b1929e18a47ab28e5.gif
TIP
A standard user interface simplifies learning a Windows application. You should follow standard conventions when designing your applications.

 
< previous page page_21 next page >

If you like this book, buy it!